package Interface;

public class MyInterfaceDemo implements MyInterface{
    @Override
    public void method1() {
        System.out.println("这是第一个抽象方法！");
    }

    @Override
    public void method2() {
        System.out.println("这是第二个抽象方法！");
    }

    public MyInterfaceDemo() {
    }
}
